package com.dgut.common.enums;

import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * @Author zyq
 * @Date 2022/4/13 15:56
 * @Description TODO
 * @Version 1.0
 **/
@AllArgsConstructor
@Getter
public enum OrderEnum {
    /**
     * 订单状态：0-待接单，1-待回收，2-已回收，3-已完成，4-已取消，5-已超时
     */
    WAIT_ACCEPT(0, "待接单"),
    WAIT_COLLECT(1, "待回收"),
    COLLECTED(2, "已回收"),
    FINISHED(3, "已完成"),
    CANCELED(4, "已取消"),
    TIME_OUT(5, "已超时")
    ;

    private Integer code;
    private String message;

}
